IApi.GetVariables 方法
取得使用者定义变数的清单。
命名空间:IntervalZero.KINGSTAR.Base.Api组合: IntervalZero.KINGSTAR.Base.Api (于 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0
语法
KsReturn<UserVariable[]> GetVariables(
UserVariable Parent = null
)
Function GetVariables(
Parent = null As UserVariable
) As KsReturn(Of UserVariable())
参数
Parent
型别:UserVariable
预设值:null
UserVariable 的父资料夹,预设会从根资料夹取得变数。
回传值
型别:KsReturn<UserVariable[]>
回传一个 KsError 代码及一个 UserVariable 值。
备注
此变数可用于 KINGSTAR 示波器 及即时记录档。
可用的 EtherCAT 状态
ecatOffline, ecatInit, ecatBoot, ecatPreOP, ecatSafeOP, ecatOP
范例
N/A
参见